package com.example.huwang.app;

import android.app.Application;

import com.example.huwang.utils.SPUtils;
import com.huwang.greendao.gen.DbController;
import com.huwang.greendao.gen.DbHistoryController;

public class MainApplication extends Application {
    public static DbController dbController;
    public static DbHistoryController dbHistoryController;
    public static String PHONE = "";

    @Override
    public void onCreate() {
        super.onCreate();
        dbController = DbController.getInstance(this);
        dbHistoryController = DbHistoryController.getInstance(this);
        SPUtils.init(this,"hx_data");
    }
}
